package game.module.sss;

public class SssConstants {

	public static final int SSS_CARD_SIZE = 52;
	
	public static final int AUTODISSROOMTIME               =180;
	//扑克类型
	public static final byte CT_INVALID						=	0;								//错误类型
	public static final byte CT_SINGLE						=	1;								//单牌类型
	public static final byte CT_ONE_DOUBLE					=	2;								//只有一对
	public static final byte CT_FIVE_TWO_DOUBLE				=	3;								//两对牌型
	public static final byte CT_THREE						=	4;								//三张牌型
	public static final byte CT_FIVE_MIXED_FLUSH_NO_A		=	5;								//没A杂顺
	public static final byte CT_FIVE_MIXED_FLUSH_FIRST_A	=	6;								//A在前顺子
	public static final byte CT_FIVE_MIXED_FLUSH_BACK_A		=	7;								//A在后顺子
	public static final byte CT_FIVE_FLUSH					=	8;								//同花五牌
	public static final byte CT_FIVE_THREE_DEOUBLE			=	9;								//三条一对
	public static final byte CT_FIVE_FOUR_ONE				=	10;								//四带一张
	public static final byte CT_FIVE_STRAIGHT_FLUSH_NO_A	=	11;								//没A同花顺
	public static final byte CT_FIVE_STRAIGHT_FLUSH_FIRST_A	=	12;								//A在前同花顺
	public static final byte CT_FIVE_STRAIGHT_FLUSH_BACK_A	=	13;								//A在后同花顺
	public static final byte CT_FIVE_SAME					=	14;								//五同

	public static final byte CT_FIVE_MID_THREE_DEOUBLE		=	100;							//中墩葫芦
	//特殊牌型
	public static final byte CT_THIRTEEN_FLUSH              =	27;                             //同花十三水
	public static final byte CT_THIRTEEN                    =	26;                             //十三水
	public static final byte CT_TWELVE_KING                 =	25;                             //十二皇族
	public static final byte CT_THREE_STRAIGHTFLUSH         =	24;                             //三同花顺
	public static final byte CT_THREE_BOMB                  =	23;                             //三炸弹
	public static final byte CT_ALL_BIG                     =	22;                             //全大
	public static final byte CT_ALL_SMALL                   =	21;                             //全小
	public static final byte CT_SAME_COLOR                  =	20;                             //凑一色
	public static final byte CT_FOUR_THREESAME              =	19;                             //四套冲三
	public static final byte CT_FIVEPAIR_THREE              =	18;                             //五对冲三
	public static final byte CT_SIXPAIR                     =	17;                             //六对半
	public static final byte CT_THREE_FLUSH                 =	16;                             //三同花
	public static final byte CT_THREE_STRAIGHT              =	15;                             //三顺子

	public static final byte LX_ONEPARE                     =	13;                             //一对
	public static final byte LX_TWOPARE                     =	14;                             //两对
	public static final byte LX_THREESAME                   =	15;                             //三条
	public static final byte LX_STRAIGHT                    =	16;                             //顺子
	public static final byte LX_FLUSH                       =	17;                             //同花
	public static final byte LX_GOURD                       =	18;                             //葫芦
	public static final byte LX_FOURSAME                    =	19;                             //铁支
	public static final byte LX_STRAIGHTFLUSH               =	20;                             //同花顺
	
	public static final byte[] m_cbCardListData = new byte[]{
			0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,	//方块 A - K
			0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,	//梅花 A - K
			0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,	//红桃 A - K
			0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,	//黑桃 A - K
	};
	
	/**
	 * 两副牌
	 */
	public static final byte[][] m_cbCardListDataColor = new byte[][]{
			{0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D},	//方块 A - K
			{0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D},	//梅花 A - K
			{0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D},	//红桃 A - K
			{0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D},	//黑桃 A - K
	};
	
	//数目定义
	public static final byte MAX_COUNT	=					5;									//最大数目
	public static final byte MAX_TIMES =					5;									//最大赔率
	public static final byte HAND_CARD_COUNT =				13;									//手牌数量
	
	//数值掩码
	public static final byte	LOGIC_MASK_COLOR = (byte) 0xF0;								//花色掩码
	public static final byte	LOGIC_MASK_VALUE = (byte) 0x0F;								//数值掩码

	public static final byte BYTE_NO = 0;
	public static final byte BYTE_YES = 1;
	
}
